package com.suda.pojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;


/****
 * @Author:zhuyongjie
 * @Description:Staff构建
 * @Date 2019/6/14 19:13
 *****/
@Table(name="t_staff")
public class Staff implements Serializable{

	@Id
    @Column(name = "staff_id")
	private String staffId;//员工ID

    @Column(name = "staff_name")
	private String staffName;//员工姓名

    @Column(name = "staff_phone")
	private String staffPhone;//员工联系方式

    @Column(name = "salary")
	private Double salary;//工资

    @Column(name = "warehouse_id")
	private String warehouseId;//所属仓库ID

    @Column(name = "post")
	private String post;//职位

    @Column(name = "department")
	private String department;//所属部门



	//get方法
	public String getStaffId() {
		return staffId;
	}

	//set方法
	public void setStaffId(String staffId) {
		this.staffId = staffId;
	}
	//get方法
	public String getStaffName() {
		return staffName;
	}

	//set方法
	public void setStaffName(String staffName) {
		this.staffName = staffName;
	}
	//get方法
	public String getStaffPhone() {
		return staffPhone;
	}

	//set方法
	public void setStaffPhone(String staffPhone) {
		this.staffPhone = staffPhone;
	}
	//get方法
	public Double getSalary() {
		return salary;
	}

	//set方法
	public void setSalary(Double salary) {
		this.salary = salary;
	}
	//get方法
	public String getWarehouseId() {
		return warehouseId;
	}

	//set方法
	public void setWarehouseId(String warehouseId) {
		this.warehouseId = warehouseId;
	}
	//get方法
	public String getPost() {
		return post;
	}

	//set方法
	public void setPost(String post) {
		this.post = post;
	}
	//get方法
	public String getDepartment() {
		return department;
	}

	//set方法
	public void setDepartment(String department) {
		this.department = department;
	}


}
